Better HN
topnewbestaskshowjobs
Log inSign up

emre-yilmaz

54 karma · joined Aug 16, 2011 (15y ago) · 24 submissions

Submissions

1.

Parser module for the amazon kindle's indevice highlight ands notes(github.com ↗)

1 points · by emre-yilmaz · 13y ago · discuss

2.

Ssh_list_indicator - A unity indicator for connecting to your SSH hosts(github.com ↗)

6 points · by emre-yilmaz · 13y ago · discuss

3.

[php] REST Interface for mongodb(github.com ↗)

6 points · by emre-yilmaz · 13y ago · discuss

comment 13y ago · link · parent

> Redis is not just a cache. Let me repeat that. Redis is not just a cache. Lots of people use Redis as a primary data store. If >Redis is your primary data store, you can't afford to have any of your keys invalidated, ever. "Minimum" might be good enough when > you're talking to Memcached, but it's not enough when you're taking to Redis.

"minimum" is enough for the people who use redis for cache, since a lot of people use it for just, plain, simple, old "caching".

comment 13y ago · link · parent

okay, tell me a python library comes with consistent hashing?

(for the record = HASH(key) MOD N is not 'consistent hashing'.)

redis-router is just a library that wraps redis-py with consistent-hashing. nothing more.

I use it in production heavily since it solves the client-side sharding problem for me. When I wrote this, there was no trustable client library comes with consistent-hashing.

I don't know what do you want to see actually. "saving the world" is a todo though. wait for the new releases. you might like it. :)

comment 13y ago · link · parent

thanks! https://github.com/emre/redis-router/commit/0d9307436e4c3b69...

comment 13y ago · link · parent

It doesn't support like this. It seems easy to implement it like that though. I will do it when I have free time.

comment 13y ago · link · parent

another good alternative: https://github.com/disqus/nydus

comment 13y ago · link · parent

Yes, these methods are dangerous to use.

I need a locking mechanism to do it safely but this will wait until I need it most likely.

comment 13y ago · link · parent

What was the problem for installation?

I use redis-router in production as a library. some of my non-pythoneer friends asked to use it in PHP, so I made a little wrapper with gevent.

It's probably not compatible with current clients. Needs testing :)

11.

Redis (consistent hashing based) sharding made easy(emre.github.io ↗)

31 points · by emre-yilmaz · 13y ago · 23 comments

comment 13y ago · link · parent

Additionaly, storm's parser includes a bunch of fixes for multiple hostnames, multiple localforward/remoteforward directions and comment line handling.

13.

Managing SSH configurations with Python(emreyilmaz.me ↗)

22 points · by emre-yilmaz · 13y ago · 6 comments

comment 13y ago · link · parent

happy to hear that :)

loading and dumping ssh configs would be tricky. let me know if you need further assistance.

comment 13y ago · link · parent

There are a lot of tools like that for years.

like;

- managing /etc/hosts - managing crontab

It's just a preference to do it with a command line tool, or just doing it in the config with editor.

comment 13y ago · link · parent

Nothing. Maybe just getting a list of host entries in a clean way.

comment 13y ago · link · parent

you can override some of the ssh options if you use it with sshconfig.

example ssh config: Host vps hostname 1.1.1.1 port 22 identityfile /home/emre/.ssh/vps.pub

If you want to override stuff, just do it like ssh vps -p 99.

And there is bash completion support with ssh, too. try it.

ssh <TAB>

comment 13y ago · link · parent

well, fake ones doesn't include that either.

19.

Kaptan, configuration manager for python projects.(github.com ↗)

2 points · by emre-yilmaz · 13y ago · discuss

20.

Show hn: realtime redis dashboard(github.com ↗)

5 points · by emre-yilmaz · 13y ago · 1 comment

21.

Track your favorite tv series from command line(github.com ↗)

1 points · by emre-yilmaz · 13y ago · discuss

comment 15y ago · link · parent

celery is awesome and well-documented. but the problem is, it wraps everthing.

conqueue is a weekend project and is not production ready, yet. it will be simple and stupid, nothing more.

i need something lightweight and small. (a.k.a maintainable for me)