{"comment":{"url":"https://api.github.com/repos/tamanyan/lmn-concurrent-hashmap/comments/11020699","html_url":"https://github.com/tamanyan/lmn-concurrent-hashmap/commit/f5e498817e5ecea306343f4006c2d60167d519d9#commitcomment-11020699","id":11020699,"user":{"login":"pww71","id":12151125,"avatar_url":"https://avatars.githubusercontent.com/u/12151125?v=3","gravatar_id":"","url":"https://api.github.com/users/pww71","html_url":"https://github.com/pww71","followers_url":"https://api.github.com/users/pww71/followers","following_url":"https://api.github.com/users/pww71/following{/other_user}","gists_url":"https://api.github.com/users/pww71/gists{/gist_id}","starred_url":"https://api.github.com/users/pww71/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pww71/subscriptions","organizations_url":"https://api.github.com/users/pww71/orgs","repos_url":"https://api.github.com/users/pww71/repos","events_url":"https://api.github.com/users/pww71/events{/privacy}","received_events_url":"https://api.github.com/users/pww71/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"f5e498817e5ecea306343f4006c2d60167d519d9","created_at":"2015-05-04T06:18:08Z","updated_at":"2015-05-04T06:18:08Z","body":"Title:       The core of the core of the big data solutions -- Map\r\nAuthor:      pengwenwei\r\nEmail:       wenwei19710430@yahoo.com \r\nLanguage:    c++\r\nPlatform:    Windows, linux\r\nTechnology:  Perfect hash algorithm\r\nLevel:       Advanced\r\nDescription: Map algorithm with high performance\r\nSection      MFC c++ map stl\r\nSubSection   c++ algorithm\r\nLicense:     (GPLv3)\r\n\r\n    Download demo project - 1070 Kb\r\n    Download source - 1070 Kb\r\n\r\nIntroduction:\r\nFor the c++ program, map is used everywhere.And bottleneck of program performance is often the performance of map.Especially in the case of large data,and the business association closely and unable to realize the data distribution and parallel processing condition.So the performance of map becomes the key technology.\r\n\r\nIn the work experience with telecommunications industry and the information security industry, I was dealing with the big bottom data,especially the most complex information security industry data,all can’t do without map.\r\n\r\nFor example, IP table, MAC table, telephone number list, domain name resolution table, ID number table query, the Trojan horse virus characteristic code of cloud killing etc..\r\n\r\nThe map of STL library using binary chop, its has the worst performance.Google Hash map has the optimal performance and memory at present, but it has repeated collision probability.Now the big data rarely use a collision probability map,especially relating to fees, can’t be wrong.\r\n\r\nNow I put my algorithms out here,there are three kinds of map,after the build is Hash map.We can test the comparison,my algorithm has the zero probability of collision,but its performance is also better than the hash algorithm, even its ordinary performance has no much difference with Google.\r\n\r\nMy algorithm is perfect hash algorithm,its key index and the principle of compression algorithm is out of the ordinary,the most important is a completely different structure,so the key index compression  is fundamentally different.The most direct benefit for program is that for the original map need ten servers for solutions but now I only need one server.\r\nDeclare: the code can not be used for commercial purposes, if for commercial applications,you can contact me with QQ 75293192.\r\nDownload:\r\nhttps://sourceforge.net/projects/pwwhashmap/files\r\n\r\nApplications:\r\nFirst,modern warfare can’t be without the mass of information query, if the query of enemy target information slows down a second, it could lead to the delaying fighter, leading to failure of the entire war. Information retrieval is inseparable from the map, if military products use pwwhashMap instead of the traditional map,you must be the winner.\r\n\r\nSecond,the performance of the router determines the surfing speed, just replace open source router code map for pwwHashMap, its speed can increase ten times.\r\nThere are many tables to query and set in the router DHCP ptotocol,such as IP,Mac ,and all these are completed by map.But until now,all map are  using STL liabrary,its performance is very low,and using the Hash map has error probability,so it can only use multi router packet dispersion treatment.If using pwwHashMap, you can save at least ten sets of equipment.\r\n\r\nThird,Hadoop is recognized as the big data solutions at present,and its most fundamental thing is super heavy use of the map,instead of SQL and table.Hadoop assumes the huge amounts of data so that the data is completely unable to move, people must carry on the data analysis in the local.But as long as the open source Hadoop code of the map changes into pwwHashMap, the performance will increase hundredfold without any problems.\r\n\r\n\r\nBackground to this article that may be useful such as an introduction to the basic ideas presented:\r\nhttp://blog.csdn.net/chixinmuzi/article/details/1727195\r\n"}}