
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
A Resilient TCP Socket Client with built-in timeouts, retries, and logging
Resilient Socket implements resilience features that most developers wish was already included in the standard Ruby libraries.
With so many "client" libraries to servers such us memcache, MongoDB, Redis, etc. their focus on the communication formats and messaging interactions. As a result adding resilience is usually an after thought.
More importantly the way that each client implements connection failure handling varies dramatically. The purpose of this library is to try and extract the best of all the socket error handling out there and create a consistent way of dealing with connection failures.
Another important feature is that the connect and read API's use timeout's to prevent a network issue from "hanging" the client program.
It is expected that this library will undergo significant changes until V1 is reached as input is gathered from client library developers. After V1 the interface should not break existing users
TCPClient should be a drop in replacement for TCPSocket when used as a client in any way needed other than for the initializer that accepts several new options to adjust the retry logic
gem install resilient_socket
Want to contribute to Resilient Socket?
First clone the repo and run the tests:
git clone git://github.com/ClarityServices/resilient_socket.git
cd resilient_socket
jruby -S rake test
Feel free to ping the mailing list with any issues and we'll try to resolve it.
Once you've made your great commits:
git checkout -b my_branch
git push origin my_branch
git clone git://github.com/ClarityServices/resilient_socket.git
This project uses Semantic Versioning.
Reid Morrison :: reidmo@gmail.com :: @reidmorrison
Copyright 2012 Clarity Services, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
FAQs
Unknown package
We found that resilient_socket demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.
Research
/Security News
A malicious Go module posing as an SSH brute forcer exfiltrates stolen credentials to a Telegram bot controlled by a Russian-speaking threat actor.