Facing new challenges everyday

Desenvolvimento de soluções de TI para mobile, web, desktop e buscas

August 5th, 2011

Neste blog é abordado aspectos de desenvolvimento de software, a maioria dos posts são em inglês, este post tem por objetivo apresentar para o público que fala a língua portuguesa sobre os meus serviços de desenvolvimento de software como empresa.

Se você deseja uma solução de qualidade para a sua empresa, seja um software mobile para iPad/iPhone, Android entre outros, um site na internet ou até mesmo a implementação de uma solução de busca empresarial, entre em contato, estarei à postos para oferecer a melhor solução existente no mercado.

Seja qual for a solução: mobile, web, desktop ou busca, para as plataformas: Windows, Linux, Solaris, Android, iOS, Bada, webOS, Windows Phone 7, e linguagens: C#, Java, PHP, Perl, Python, C++, Delphi, Ruby entre outras, você vai encontrar aqui o profissional apto a suprir as necessidades mais comuns de TI em uma empresa.

É possível encontrar detalhes sobre o meu portfolio aqui, você também pode entrar em contato através desta página.

DZoneGoogle BookmarksFacebookEvernoteLinkedInDeliciousShare

Checking website status with Bash under Ubuntu

July 29th, 2011

With few lines of code we can create a very smart bash script that doest the website status check for us, this script uses the ubuntu notification system to display a notification on desktop if the website goes down.

Here’s how you can do this.

First, you need to install required packages:

sudo apt-get install libnotify-bin msmtp openssl ca-certificates

And now configure account in msmtp:

(more…)

DZoneGoogle BookmarksFacebookEvernoteLinkedInDeliciousShare

Checking website status with Powershell

July 28th, 2011

After few days searching about applications to help me on check is a site is up or not, I finally create my own solution to accomplish this, I wrote a small powershell script to do that.

With few lines of code I would create very quickly a script that just perform a http request and check the return code, if the return is 200, then website is ok, if not, a message will be displayed to the user.

The entire code can be found in below:

(more…)

DZoneGoogle BookmarksFacebookEvernoteLinkedInDeliciousShare

Amazon EC2, autoscaling and Glassfish challenges

July 9th, 2011

Are you thinking about put a awesome java webapplication running on top of Glassfish application server and use the awersome Amazon Elastic Balancer? If the answer is yes, please read this article first.

At first time the autoscaling feature seens to be an awesome solution, but it may bring some problems if the website deployment isn’t properly planned.

The first and the biggest issue that I found is website update, I created a simple script that check if there’s a new version of site war file at Amazon S3 and then perform its download, if I just redeploy the war file it may crash because of the current database connections made by JPA which cause to put all website down.
(more…)

DZoneGoogle BookmarksFacebookEvernoteLinkedInDeliciousShare

PostgreSQL, idle connections and firewalls

July 9th, 2011

I recently had a problem where an entire website goes down from nothing, I checked the Apache logs, the application server logs and no big exceptions has been found.

After check the postgres database logs and few hours of searches on the web I finally could think in a small possibility, the firewall closing idle connections opened by application servers, so I decided to set the tcpKeepAlive property on JDBC connection, after that the issue seens to be gone.

I hope this post may be useful for someone

DZoneGoogle BookmarksFacebookEvernoteLinkedInDeliciousShare
« Previous PageNext Page »

Visitors Around the World

Polls

How Is My Site?

View Results

Loading ... Loading ...

Categories

Meta

Links

hosted by easy2use.net