2013-03-25
2013-03-24
Fast IP Geo Location
IP Geo location is process to locate the geographic area from the IP address.
For example website bourgas.org is Bulgarian website, but if you check the IP address, you will find it is hosted in Huston, TX, USA.
Another example is - user come to your website, the system checks where is he/she from and display page for USA, Canada, Europe or World.
Your system can even reject the access, if visitor comes from "forbidden" countries or states, say all Delaware visitors get message "Sorry, but due to legal reasons, we can not deal with you".
There are lots of paid resources that enable IP Geo location, but most used one is Maxmind GeoIP database.
The best "property" of this database is that there is very good *FREE* version.
This free version works much better than paid versions of most other Maxmind's competitors.
Also you get not only country to IP, but also IP to city database for free.
The biggest problem of those IP Geo databases are that they are slow. If you want to process huge amount of data, soon or later the speed will not meet your requirements.
This is why many people import this information in relational databases, such MySQL for example.
But if you do so, then your MySQL or whatever will slow down too.
Here we developed a solution that uses Redis as storage engine:
https://github.com/nmmmnu/GeoIP-Redis
Because everything fits in memory, the speed is as fast as possible it can be. This allows you to process more data, for less time and with less hardware, effectively saving money and maximizing profits :)
For example website bourgas.org is Bulgarian website, but if you check the IP address, you will find it is hosted in Huston, TX, USA.
Another example is - user come to your website, the system checks where is he/she from and display page for USA, Canada, Europe or World.
Your system can even reject the access, if visitor comes from "forbidden" countries or states, say all Delaware visitors get message "Sorry, but due to legal reasons, we can not deal with you".
There are lots of paid resources that enable IP Geo location, but most used one is Maxmind GeoIP database.
The best "property" of this database is that there is very good *FREE* version.
This free version works much better than paid versions of most other Maxmind's competitors.
Also you get not only country to IP, but also IP to city database for free.
The biggest problem of those IP Geo databases are that they are slow. If you want to process huge amount of data, soon or later the speed will not meet your requirements.
This is why many people import this information in relational databases, such MySQL for example.
But if you do so, then your MySQL or whatever will slow down too.
Here we developed a solution that uses Redis as storage engine:
https://github.com/nmmmnu/GeoIP-Redis
Because everything fits in memory, the speed is as fast as possible it can be. This allows you to process more data, for less time and with less hardware, effectively saving money and maximizing profits :)
Labels:
Off topic
2013-02-05
Зайченцето бяло
Зайченцето бяло
Леда Милева
05.02.1920 — 05.02.2013
Зайченцето бяло
Леда Милева
05.02.1920 — 05.02.2013
Зайченцето бяло
цял ден си играло
в близката горичка
със една сърничка.
Вече се стъмнило,
слънцето се скрило.
Зайчето разбрало,
че е закъсняло.
Хукнало да бяга,
както му приляга,
но във тъмнината
сбъркало следата!
Седнало да плаче
малкото юначе.
На кого да каже
път да му покаже?
Хей, в тъмнината
с лампичка в ръката
малката Светулка,
на щуреца булка.
Зайчето видяла,
пътя му огряла.
Отишло при Зайка,
свойта мила майка.
2013-01-17
Gold is $ 1,687.00
Dow is 13,568.40
Dow/Gold ratio - 8.04 (August 2011 was 5.89)
Some links:
Dow is 13,568.40
Dow/Gold ratio - 8.04 (August 2011 was 5.89)
Some links:
- US Stock market / Gold cycles 1850 - 2013 - by me
- Dow/Gold Ratio Falls to Post-87 Crash Low - by Adrian Ash
Labels:
Dow : Gold ratio
Gold 1 week
Hello :)
I did not publish for a while (long while), but I think I will pay more attention to the trading from now one.
Let see whats going on with Gold. Since I did not observed it for a while, I am not sure how accurate is the chart I am attaching.
Lets begin:
There is long time support in pink. However it is so long, that I can not see where it "begins" on the montly chart. According this support, Gold is "due" for a rice.
Then we have a broken trinange - pink and blue line. The triangle is broken on the "correct" side, but nothing interesting going on there.
Parallel to the upper boundary of the triangle, there is a resistance. Currently it is @ 1700 level.
Last, but not least, there is a channel formed from brown lines between ~1520 and 1700 level. Support there were tested twice.
This is the situating for the moment.
Labels:
Gold
2013-01-13
2012-11-02
Openfest
Will speak at Openfest (www.openfest.org) at 4th about Apache Cassandra.
Labels:
Off topic
2012-07-29
2012-03-30
Canada Eliminates The Penny
Via Mish
http://www.bloomberg.com/news/2012-03-29/canada-eliminates-penny-that-costs-penny-and-a-half-to-make.html
2012-01-23
2011-12-18
Václav_Havel RIP
Labels:
General Political Economy
2011-11-03
ECB with new boss and lower rate
QE is on the way.
The European Central Bank lowered its benchmark interest rate Thursday, as the new president, Mario Draghi, acted quickly to address a looming recession and acute tension caused by the sovereign debt crisis.
http://www.nytimes.com/2011/11/04/business/global/european-central-bank-cuts-rates-hoping-to-avert-downturn.html?_r=1
The European Central Bank lowered its benchmark interest rate Thursday, as the new president, Mario Draghi, acted quickly to address a looming recession and acute tension caused by the sovereign debt crisis.
http://www.nytimes.com/2011/11/04/business/global/european-central-bank-cuts-rates-hoping-to-avert-downturn.html?_r=1
Labels:
EUR,
General Political Economy
2011-11-02
Silver 1 week and 1 day chart
Labels:
Gold
2011-10-27
2011-10-06
Stive Jobs RIP
"What will be will be, the future is our to forge..."
"the captain"
I never liked Jobs as technical person, but he was truly great businessman,
except last several mounts when he behave very irresponsibly.
"the captain"
I never liked Jobs as technical person, but he was truly great businessman,
except last several mounts when he behave very irresponsibly.
Labels:
General Political Economy
2011-09-29
The fall of Byzantine empire
Friend referred me to two movies about the fall of Byzantine empire.
One of the movies truly sucks :)
However, the other was very good. Unfortunately, the movie is in... Russian and have no subtitles.
If you know Russian, watch it. You will find lots of parallels between late Byzantine empire, Venice, Turks and today's big countries such USA, Germany, China and so on.
Here is the link:
Гибель империи. Византийский урок.
http://www.youtube.com/watch?v=w3hROzmN5MQ
And here is the embed:
One of the movies truly sucks :)
However, the other was very good. Unfortunately, the movie is in... Russian and have no subtitles.
If you know Russian, watch it. You will find lots of parallels between late Byzantine empire, Venice, Turks and today's big countries such USA, Germany, China and so on.
Here is the link:
Гибель империи. Византийский урок.
http://www.youtube.com/watch?v=w3hROzmN5MQ
And here is the embed:
Labels:
General Political Economy
2011-09-27
Biiwii: Get ready to laugh
Biiwii: Get ready to laugh
really very funny video about Gold
really very funny video about Gold
Labels:
Gold,
Multimedia
2011-09-26
2011-09-14
Subscribe to:
Posts (Atom)








