Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
Linux Business Government News

US Postal Service Moves To GNU/Linux 477

twitter writes "The US Postal Service has moved its Cobol package tracking software to HP machines running GNU/Linux. 1,300 servers handle 40 million transactions a day and cost less than the last system, which was based on a Sun Solaris environment." The migration took a year. The USPS isn't spelling how big the savings are, except that they are "significant."
This discussion has been archived. No new comments can be posted.

US Postal Service Moves To GNU/Linux

Comments Filter:
  • by e9th ( 652576 ) <e9th&tupodex,com> on Tuesday July 14, 2009 @08:05PM (#28698241)
    I see they used the Micro Focus [microfocus.com] COBOL compiler, which is not FOSS by a long shot.
  • Only one year? (Score:3, Interesting)

    by shadowbearer ( 554144 ) on Tuesday July 14, 2009 @08:14PM (#28698315) Homepage Journal

      That was my thought, too. That's pretty impressive. If it's true, whoever coordinated the move really knew what they were doing. Maybe we should elect them to the highest office in 2012 ;)

      I don't think they should drop any service, tho. But then I've never understood why Sundays were considered a "day off", even. It's just another day, no matter what religious people or anyone else consider it to be. The sun rises, the sun sets, there's nothing to differentiate it from any other day, outside of some superstitious people who happen to have had influence.

      Hey, it's a capitalistic society we live in, right? We should all be working 24/7/365+1/4, right? For the greater good?

      Pardon my sarcasm. Or don't. I do my penance on my days off. Like today. Penance being doing laundry, housework, cleaning out the cat boxes, working on the peace treaty with my SO, fixing odds and ends, etc. It's enough. Tomorrow will be another twelve hours of busting my ass saving people from the errors of their ways*. ;)

      *I speak literally, there. I make most of my money being a maintenance person for apartment buildings.

      SB

  • by erroneus ( 253617 ) on Tuesday July 14, 2009 @08:17PM (#28698335) Homepage

    Have you ever coded in COBOL? I have. It is EXTREMELY easy. It is quite close to English and is not at all cryptic. I believe nearly any coder with any experience and a language reference guide can read through code and make changes were needed. It has been almost 10 years since I last wrote a PIC statement, but I am quite confident that not only I, but just about anyone could do it. While I think the stories about pulling old programmers out of mothballs (retirement) is rather heartening, I think they are blowing the problem out of proportion. What these companies should be doing is hiring experienced and mature coders who can learn COBOL then send them to school.

    What I find disheartening is the fact that businesses are no longer able to see education and training of employees as a worthwhile investment. (I know why they probably don't see it as worthwhile and it has a lot to do with employee loyalty, but I have to insist that the problem of loyalty didn't really happen until employers started treating their employees as disposable... they have no qualms with firing and laying off people at-will and yet they expect employees to be loyal? Get real!)

  • by WindowlessView ( 703773 ) on Tuesday July 14, 2009 @08:18PM (#28698341)

    they could still reap even more benefits by recoding for modern languages and coding practices

    Maybe. The fact is it appears they successfully migrated the system to a new platform within a year. I have seen many "modern" systems still jerking around with UML after a year and I can't count how many were never brought fruition.

    But then, this is the US Postal Service. COBOL's probably fast enough for the task.

    COBOL has a lot of issues but speed isn't a big one. I'm willing to bet that on tasks that are appropriate to COBOL it would kick most "modern" scripting languages asses in terms of speed.

  • by jnaujok ( 804613 ) on Tuesday July 14, 2009 @08:18PM (#28698355) Homepage Journal

    1300 servers, processing 40 million transactions a day... that's about 30,800 transactions per server. Or one transaction every 2.8 seconds or so. With an entire Linux box dedicated to it.

    I work in the scan processing group at FedEx. At peak, we see over 100,000,000 transactions a day. And that's handled on 45 linux boxes, and 12 more for the database, doing upwards of 6000 transactions per second during bursts. That's a peak of about 133 transactions per second, per box. That's a little better than 0.3 TPS for the Post Office. So we have about 400 times the performance with 5% of the hardware. By that margin, I could do their processing with about 25 boxes total. That would mean another 98% savings on hardware alone.

    For some reason, I fail to be really impressed that they've gone from "Crappy performance and Expensive" to "Crappy performance and less expensive."

    I wonder if I can get the bazillion dollar contract to rewrite their system... No, wait, my name isn't "Boeing" or "Lockheed" or Ken Murtha.

  • Re:Now? (Score:5, Interesting)

    by RyuuzakiTetsuya ( 195424 ) <taiki.cox@net> on Tuesday July 14, 2009 @08:21PM (#28698371)

    Last week on Top Gear, they raced a standard letter sent via standard post in the UK from the south of the UK to the far north of the UK and the letter won.

    Total cost of the stamp? A fraction of a pound.

    The US is very similar. A little slower due to the extreme distances mail has to route to, but, i'd wager on mail versus delivering it yourself anyday. Not only that it's *cheap*

  • Re:Only one year? (Score:3, Interesting)

    by Cowmonaut ( 989226 ) on Tuesday July 14, 2009 @08:36PM (#28698461)
    Remember, in less then a century ago atheism was a big taboo. Like it or not the idea of a single God has been part of the majority of American's religious beliefs since the founding. Recently the principals that were set down before that are being shaped into an "america for everybody" have been making it less of a pain in the ass to not believe in a Christian God so maybe in time we'll get mail on Sundays as well.
  • Typical (Score:5, Interesting)

    by afabbro ( 33948 ) on Tuesday July 14, 2009 @08:38PM (#28698481) Homepage

    cost less than the last system, which was based on a Sun Solaris environment.

    Two thoughts:

    • This seems to be where Linux's strength is - replacing proprietary Unix.
    • How lame does the Sun salesman have to be? He couldn't get the USPS to replace their Sun boxes with Linux Sun boxes (Sun makes a complete line of x86 kit that runs Linux). Instead they went to HP. There's precious little difference between an HP x86 box and a Sun x86 box....all I can think is how lame the Sun salesman must have been.
  • by Anonymous Coward on Tuesday July 14, 2009 @08:41PM (#28698505)

    Having run personally comparisons of Cobol to Modern coding languages on the same box, Cobol kicks but due to the much lower overhead per transaction. And Assembler is even faster.

  • by BikeHelmet ( 1437881 ) on Tuesday July 14, 2009 @08:43PM (#28698529) Journal

    Yeah, but how many post offices are there? Doesn't each post office need one machine to talk to the main cluster?

    And do people mail stuff 24 hours per day, or is there a rush hour? Where everything spikes 10x as high?

    Do these servers have to do any of that optical character recognition crap to figure out where to mail stuff, or is that handled by whatever company designed that part of the system?

    There's plenty of valid reasons for why they *might* need that many servers. It could even be preparations for Christmas. Maybe they keep half of them in reserve for when they're needed?

  • by PsychicX ( 866028 ) on Tuesday July 14, 2009 @08:54PM (#28698615)
    The FedEx system doesn't handle hand written letters though, does it? You have to do a shipping label for most (all?) packages, with a digital bar code. USPS runs some very powerful OCR systems; maybe they're making the transactions so expensive. Just a thought.
  • by wowbagger ( 69688 ) on Tuesday July 14, 2009 @08:58PM (#28698661) Homepage Journal

    Well, you make a couple of assumptions that may or may not be valid:

    1) you assume the "transactions" the USPS is doing are equivalent to the scanning FedEx does. We don't know what these "transactions" are - they could be tracking requests, they could be scanning letters, or something else.

    2) FedEx can pretty much guarantee that all items start out with a valid barcode, while USPS cannot - they have to be able to handle a large number of envelopes that have nothing but a handwritten address on them: no bar code, no machine printed labels, just hand-printed (or handwritten cursive) labels. That takes quite a bit more processing.

  • How? (Score:2, Interesting)

    by Anonymous Coward on Tuesday July 14, 2009 @09:06PM (#28698725)

    If they're running RedHat, now they owe RH $349/year/box instead of paying Sun. That's not any cheaper.

    If they've switched to CentOS or something else that costs nothing (and comes with no support), they could have switched to OpenSolaris, had an easier migration and lower retraining costs, and saved just as much money.

    If they were paying Sun's extortion for hardware support, they were stupid. With the number of servers they have, they could easily come out ahead by buying some shelf spares.

    I wouldn't be at all surprised to find out they were running a bunch of Sun E10Ks before and paying gigantic support bills and gigantic electric bills, and now they've switched commodity hardware and, guess what, it's cheaper! They probably could have switched to 650 (that's 1300/2, for those of you not paying attention) Sun T5120s and saved a bunch of rack space and a bunch of electricity compared to the Linux boxes.

  • Re:A year? (Score:5, Interesting)

    by Old97 ( 1341297 ) on Tuesday July 14, 2009 @09:10PM (#28698743)
    I paid more for a first class stamp from the Bundespost in Germany in 1976 than I pay in the U.S. today, and the service is better. The USPS is a bargain and it's better managed than people give it credit for.
  • Improve tracking? (Score:5, Interesting)

    by MBCook ( 132727 ) <foobarsoft@foobarsoft.com> on Tuesday July 14, 2009 @09:34PM (#28698913) Homepage

    Will this allow them to improve their tracking system?

    UPS has had an amazing tracking system for years. FedEx has improve theirs, to the point they have good estimated delivery dates and can show you what's going on with your package pretty well, like UPS.

    When dealing with the post office, their system works but is... antiquated. When paying for any kind of fast shipping (overnight, two day) I can receive my package before the tracking number pulls up a package. It's not every time, but it's enough to make me not care much. What I really care about is estimated delivery dates. I want to know when I'll get my package. I usually don't care if my package is in NYC, Duluth, or San Antonio. It will get where it needs to go. I would rather have the step-by-step tracking information show up later and have things like estimated TOA show up fast.

    I remember as a kid (I'm 26) you could order something from a catalog and you had basically no idea when it would show up from UPS, etc. Today I can find out where my UPS package was last scanned, nearly up to the minute. Very cool.

    That would make a neat visualization. They should put that on their site, little packages moving along their correct routes around the country.

  • by EvanED ( 569694 ) <evaned@NOspAM.gmail.com> on Tuesday July 14, 2009 @09:35PM (#28698915)

    1300 servers, processing 40 million transactions a day... ...we see over 100,000,000 transactions a day. So we have about 400 times the performance...

    Take your pick of the following criticisms:

    1. Good job comparing peak performance vs average performance

    2. I think you might need to learn to multiply

  • by laughingskeptic ( 1004414 ) on Tuesday July 14, 2009 @10:04PM (#28699105)
    I have to agree. When I was 19 and interning in the accounting department at a chemical plant, I was asked to add a new field to one of their systems because I knew FORTRAN. I looked at their code, told them that it was not FORTRAN, but I thought I understood what was going on. They said fine. After a couple of hours of monkey-see-monkey-do I had made the change and verified that the field showed up on the screen that they wanted it on, saved the values as expected and showed up in the modified reports where they wanted. It was not until over 20 years later that I looked inside a COBOL book and realized that I had been unknowingly 'tainted'. It was that easy.
  • Re:Now? (Score:2, Interesting)

    by SilverHatHacker ( 1381259 ) on Tuesday July 14, 2009 @10:18PM (#28699193)
    Just be thankful that you can assume it will go to its "precise recipient." Up here in Canada, our postal system is so messed up, my street has three different names. If you use the most common one, there are at least three other places that have the exact same address, barring postal code - but I still get mail from them, even though the postal codes are completely different!
  • Re:A year? (Score:1, Interesting)

    by Anonymous Coward on Tuesday July 14, 2009 @10:27PM (#28699273)

    So good that it's illegal to compete with?

    It's only illegal to jack with people's mailboxes. Get your own damn mailbox system if you want to deliver mail without standing around knocking on doors and hoping someone is home to take it.

  • Re:A year? (Score:4, Interesting)

    by FrankieBaby1986 ( 1035596 ) on Wednesday July 15, 2009 @12:46AM (#28700195)
    economies of scale. LOTS AND LOTS of small, lightweight letter's, postcards, bills, etc. can fit on a plane, truck, mail car, etc. if 200 letters can fit in a 1ft by 1 ft box (likely many, many more), then that 1ft by 1ft box got $100 dollars in stamps. it typically costs about what, $10 to ship something this size & weight (can be dense) via FedEx at retail?
  • by Will.Woodhull ( 1038600 ) <wwoodhull@gmail.com> on Wednesday July 15, 2009 @01:22AM (#28700389) Homepage Journal

    COBOL runs quite fast; it is a compiled language that was designed from the start for compiler optimization of business logic code. Think in terms of well written C.

    COBOL's reputation for being slow has to do with writing the programs, and dates back to its earliest days when code had to be written as SET RIDICULOUSLYLONGVARIABLENAME EQUAL TO 2 PLUS 2. Development time sped up a lot when Gracie was finally convinced that RIDICULOUSLYLONGVARIABLENAME = 2 + 2 would work as well (the original approach had to do with coders handprinting the instructions on coding forms that were then given to keypunch operators who knew nothing about computer languages but could type really fast and accurately... so long as their fingers didn't have to reach too far from the home keys).

    I was never found of COBOL in school, and never did much with it. But I agree with others that anyone who has worked with a couple of programming languages could probably master COBOL in a matter of hours: in retrospect, it is basically a simple and obvious language. What I probably could not do is reverse engineer some of the constructs that were used back in the day: a lot of weird code was developed to work around hardware limitations that no one born after 1980 will have ever seen. Much of that wasn't documented well, and I think that is why old COBOL programmers are in demand. They remember that this particular type of data structure was used to optimize read-write operations on dual high speed tapes... to a younger programmer it just looks like arbitrary stupidity and they don't know what to do with it.

  • Re:Improve tracking? (Score:3, Interesting)

    by moosesocks ( 264553 ) on Wednesday July 15, 2009 @02:02AM (#28700561) Homepage

    There's an alternate explanation -- the USPS might sort its mail in such a way that doesn't require re-scanning at every hub.

  • by lena_10326 ( 1100441 ) on Wednesday July 15, 2009 @05:02AM (#28701163) Homepage

    I think the reason many keep hiring older coders to handle COBOL is that the kids freak out when asked to program in anything that's not a trendy buzzword

    When every hiring manager skims your resume looking for the latest trendy buzzwords, a thinking person who wants to be hired will quickly realize that experience with those tools is a necessity if you want a career in software development. "Kids" (really now, we're talking about most developers) do not want to maintain or program COBOL because they know they will not be hireable after a several year stint at a COBOL shop.

  • Re:A year? (Score:3, Interesting)

    by Rich0 ( 548339 ) on Wednesday July 15, 2009 @10:53AM (#28703563) Homepage

    This is not unlike the problems with insurance, which also tends to be inequitable without a lot of regulation. The people who most need it end up being the people who can least afford it.

    Now, whether these things ought to be equitable is a legitimate question that society needs to consider. Maybe people born with a higher risk of diabetes or heart disease should have to work three jobs just to barely keep up with the medical bills, and stop receiving treatment at age 40 due to an inability to pay. Maybe people in the middle of Nebraska should have to pay $10 to mail a Christmas card. Perhaps there is some middle ground.

    The important thing is to be honest about the pros/cons of the various models of funding these kinds of activities, and then allow society to choose what kind of a world we want to live in.

E = MC ** 2 +- 3db

Working...