{"id":15508276,"url":"https://github.com/jponge/blobstore","last_synced_at":"2025-10-07T04:56:09.065Z","repository":{"id":2767921,"uuid":"3766483","full_name":"jponge/blobstore","owner":"jponge","description":"A simple blob store in Java.","archived":false,"fork":false,"pushed_at":"2012-05-09T17:26:27.000Z","size":148,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-20T22:24:44.902Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jponge.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-03-19T17:21:47.000Z","updated_at":"2017-07-24T07:46:43.000Z","dependencies_parsed_at":"2022-09-10T01:11:53.932Z","dependency_job_id":null,"html_url":"https://github.com/jponge/blobstore","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jponge/blobstore","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jponge%2Fblobstore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jponge%2Fblobstore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jponge%2Fblobstore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jponge%2Fblobstore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jponge","download_url":"https://codeload.github.com/jponge/blobstore/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jponge%2Fblobstore/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278722766,"owners_count":26034461,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T09:36:51.873Z","updated_at":"2025-10-07T04:56:09.046Z","avatar_url":"https://github.com/jponge.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BlobStore\n\nA local, non thread-safe implementation of a key / value blobs storage in Java.\n\nThis is not mean to be bulletproof: this project purpose is to illustrate\nthe benefits of using [JBoss Byteman](http://www.jboss.org/byteman/) to\nharness unit and functional test suites by injecting faults.\n\nThere are many cases where exceptional behaviour is hard to reproduce in tests,\nespecially when I/O and multiple threads are involved. JBoss Byteman manipulates\napplication bytecode through event/condition/action rules, and can make it very\neasy to inject faults, wait/pause threads and so on.\n\n## Discussion\n\nThe `master` branch contains the latest iterations over the code base and\ntests suite.\n\nThe `without-byteman` branch contains the initial code base that was developed\nwith traditional unit tests, without fault injection.\n\nBy comparing both branches, you can see how introducing faults with Byteman\nhelped in:\n\n* vastly increasing code coverage, and\n* detecting a few bugs.\n\nOne may argue that the `without-byteman` branch could still be improved\nwithout Byteman, and that the few bugs fixed afterwards in the `master`\nbranch could still have been spotted through peer-review.\n\nThis is true.\n\nThe point is that the `without-byteman` branch still had a reasonable\ncode coverage to begin with, with the missing spots lying in I/O errors\nthat would be very hard to introduce through even with object stubs/mocks.\n\nForcing a filesystem to refuse renaming a file, or forcing it to become\nfull all of a sudden is definitely non-trivial.\n\nIf you have experience with other techniques than leveraging a bytecode\nmanipulation tool like Byteman then I am very interested in hearing from\nyou!\n\n## License\n\nCopyright (c) 2012 [Julien Ponge](http://julien.ponge.info/).\n\n    Permission is hereby granted, free of charge, to any person obtaining a copy\n    of this software and associated documentation files (the \"Software\"), to deal\n    in the Software without restriction, including without limitation the rights\n    to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n    copies of the Software, and to permit persons to whom the Software is\n    furnished to do so, subject to the following conditions:\n\n    The above copyright notice and this permission notice shall be included in\n    all copies or substantial portions of the Software.\n\n    THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n    IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE\n    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n    THE SOFTWARE.\n\n## Building\n\nThe JBoss repositories can be boring to configure right with Maven, especially\nif you want to avoid putting explicit repository references in your POMs, which\nis bad practice anyway.\n\n[Read on this JBoss documentation](https://community.jboss.org/wiki/MavenGettingStarted-Users).\n\n## You can contribute!\n\nAlthough this project is a use-case rather than a real attempt at making a rock-solid\nblob storage engine, feel-free to propose enhancements.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjponge%2Fblobstore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjponge%2Fblobstore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjponge%2Fblobstore/lists"}