{"action":"created","issue":{"url":"https://api.github.com/repos/chrismattmann/lucene-geo-gazetteer/issues/8","labels_url":"https://api.github.com/repos/chrismattmann/lucene-geo-gazetteer/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/chrismattmann/lucene-geo-gazetteer/issues/8/comments","events_url":"https://api.github.com/repos/chrismattmann/lucene-geo-gazetteer/issues/8/events","html_url":"https://github.com/chrismattmann/lucene-geo-gazetteer/pull/8","id":118188563,"number":8,"title":"Geo Gazetteer as a REST API service","user":{"login":"thammegowda","id":1865964,"avatar_url":"https://avatars.githubusercontent.com/u/1865964?v=3","gravatar_id":"","url":"https://api.github.com/users/thammegowda","html_url":"https://github.com/thammegowda","followers_url":"https://api.github.com/users/thammegowda/followers","following_url":"https://api.github.com/users/thammegowda/following{/other_user}","gists_url":"https://api.github.com/users/thammegowda/gists{/gist_id}","starred_url":"https://api.github.com/users/thammegowda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thammegowda/subscriptions","organizations_url":"https://api.github.com/users/thammegowda/orgs","repos_url":"https://api.github.com/users/thammegowda/repos","events_url":"https://api.github.com/users/thammegowda/events{/privacy}","received_events_url":"https://api.github.com/users/thammegowda/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-11-21T10:41:53Z","updated_at":"2015-11-25T16:43:18Z","closed_at":"2015-11-25T16:43:11Z","pull_request":{"url":"https://api.github.com/repos/chrismattmann/lucene-geo-gazetteer/pulls/8","html_url":"https://github.com/chrismattmann/lucene-geo-gazetteer/pull/8","diff_url":"https://github.com/chrismattmann/lucene-geo-gazetteer/pull/8.diff","patch_url":"https://github.com/chrismattmann/lucene-geo-gazetteer/pull/8.patch"},"body":"This PR provides service mode to geo gazeteer.\r\nThe service mode is best to use when doing large number of name to GPS lookups.\r\n(The real delay in CLI mode are from the JVM intialization and Lucene index warmup.\r\nService mode requires only one JVM init and also keeps the Lucene index warm with all the cache optimizations for subsequent calls!)\r\n\r\n# Benchmark \r\n## CLI Mode \r\n![cli-mode](https://cloud.githubusercontent.com/assets/1865964/11318055/0190ead2-8ff8-11e5-9a56-32d5220b2562.png)\r\n\r\n## Service mode in embedded Jetty:\r\nEDIT : this benchmark is no longer applicable. See UPDATE 1\r\n![service-mode](https://cloud.githubusercontent.com/assets/1865964/11318060/0fd26e40-8ff8-11e5-9e3b-9ea7e26142de.png)\r\n\r\n## UPDATE 1: Service Mode in Embedded Tomcat and JAX-RS with Apache CXF\r\n![cli-mode2](https://cloud.githubusercontent.com/assets/1865964/11391609/98b97cf4-9308-11e5-83e8-f21ed6901eb9.png)\r\n\r\n<sub>On a side note, the above screenshots show Tomcat + CXF is twice slower than embedded Jetty for minimal REST services!</sub>\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/chrismattmann/lucene-geo-gazetteer/issues/comments/159667014","html_url":"https://github.com/chrismattmann/lucene-geo-gazetteer/pull/8#issuecomment-159667014","issue_url":"https://api.github.com/repos/chrismattmann/lucene-geo-gazetteer/issues/8","id":159667014,"user":{"login":"chrismattmann","id":395887,"avatar_url":"https://avatars.githubusercontent.com/u/395887?v=3","gravatar_id":"","url":"https://api.github.com/users/chrismattmann","html_url":"https://github.com/chrismattmann","followers_url":"https://api.github.com/users/chrismattmann/followers","following_url":"https://api.github.com/users/chrismattmann/following{/other_user}","gists_url":"https://api.github.com/users/chrismattmann/gists{/gist_id}","starred_url":"https://api.github.com/users/chrismattmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrismattmann/subscriptions","organizations_url":"https://api.github.com/users/chrismattmann/orgs","repos_url":"https://api.github.com/users/chrismattmann/repos","events_url":"https://api.github.com/users/chrismattmann/events{/privacy}","received_events_url":"https://api.github.com/users/chrismattmann/received_events","type":"User","site_admin":false},"created_at":"2015-11-25T16:43:18Z","updated_at":"2015-11-25T16:43:18Z","body":"love @thammegowda @smadha you both are awesome!"}}