The level of research and development engineering capabilities directly affects the company's long-lasting innovation and the company's role in the market. Only by relentlessly pursuing excellence in engineering can we bring long-term core competencies and create value for every user,…
Deep Copy Object with Reflecting or gob in Go
In some case, we need to deep copy value of the object into another object. I have tested using the gob and reflecting to do that. The gob package gob manages streams of gobs - binary values exchanged between an…
Non-Deterministic Finite Automata in Regular Expression Engine
Regular Expression Engine Regular expression engine can be divided into 2 different categories: DFA (Deterministic finite automaton) and NFA( Non-deterministic finite automaton). The NFA can be divided into Traditional NFA and POSIX NFA. Backtracking is allowed in DFA, while in…
Memcache Internals
Memcached, system of the distributed memory caching, is often used to increase the performance and availability of the hosted application through decreasing database load. It creates a common cache for all the application nodes and represents your application short-term memory.…