{"action":"created","issue":{"url":"https://api.github.com/repos/boltdb/bolt/issues/386","labels_url":"https://api.github.com/repos/boltdb/bolt/issues/386/labels{/name}","comments_url":"https://api.github.com/repos/boltdb/bolt/issues/386/comments","events_url":"https://api.github.com/repos/boltdb/bolt/issues/386/events","html_url":"https://github.com/boltdb/bolt/issues/386","id":86114687,"number":386,"title":"Connection Pool","user":{"login":"raunakspecial1994","id":7835262,"avatar_url":"https://avatars.githubusercontent.com/u/7835262?v=3","gravatar_id":"","url":"https://api.github.com/users/raunakspecial1994","html_url":"https://github.com/raunakspecial1994","followers_url":"https://api.github.com/users/raunakspecial1994/followers","following_url":"https://api.github.com/users/raunakspecial1994/following{/other_user}","gists_url":"https://api.github.com/users/raunakspecial1994/gists{/gist_id}","starred_url":"https://api.github.com/users/raunakspecial1994/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raunakspecial1994/subscriptions","organizations_url":"https://api.github.com/users/raunakspecial1994/orgs","repos_url":"https://api.github.com/users/raunakspecial1994/repos","events_url":"https://api.github.com/users/raunakspecial1994/events{/privacy}","received_events_url":"https://api.github.com/users/raunakspecial1994/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-08T10:10:06Z","updated_at":"2015-06-09T04:32:11Z","closed_at":"2015-06-08T20:26:53Z","body":"Bolt obtains a file lock on the data file so multiple processes cannot open the same database at the same time. Opening an already open Bolt database will cause it to hang until the other process closes it.\r\n\r\nAs this is the case,is there any connection pooling concept like various clients connecting and accessing the database at the same time.? Is this possible in boltdb?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/boltdb/bolt/issues/comments/110221103","html_url":"https://github.com/boltdb/bolt/issues/386#issuecomment-110221103","issue_url":"https://api.github.com/repos/boltdb/bolt/issues/386","id":110221103,"user":{"login":"raunakspecial1994","id":7835262,"avatar_url":"https://avatars.githubusercontent.com/u/7835262?v=3","gravatar_id":"","url":"https://api.github.com/users/raunakspecial1994","html_url":"https://github.com/raunakspecial1994","followers_url":"https://api.github.com/users/raunakspecial1994/followers","following_url":"https://api.github.com/users/raunakspecial1994/following{/other_user}","gists_url":"https://api.github.com/users/raunakspecial1994/gists{/gist_id}","starred_url":"https://api.github.com/users/raunakspecial1994/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raunakspecial1994/subscriptions","organizations_url":"https://api.github.com/users/raunakspecial1994/orgs","repos_url":"https://api.github.com/users/raunakspecial1994/repos","events_url":"https://api.github.com/users/raunakspecial1994/events{/privacy}","received_events_url":"https://api.github.com/users/raunakspecial1994/received_events","type":"User","site_admin":false},"created_at":"2015-06-09T04:32:11Z","updated_at":"2015-06-09T04:32:11Z","body":"There are various unique id and all are bidding a amount at a rate of milliseconds and i have to store it and update their current spend(spend till that particular time) as soon as possible.\r\nThe schema i am using is like -making a bucket for every unique id and storing the time as the key and value as the bid.\r\nand then making a common bucket for all unique and updating their current spend in that\r\nwhere key=unique id and value = latest current spend .\r\n\r\nSo how can i update the common bucket as fast as possible .\r\nall the buckets are in the same database."}}